const LETTERS = /[a-z]/i;
const NUMBERS = /[0-9]/;
const WHITESPACE = /\s/;

export function isNumbar(char: string): boolean {
  return NUMBERS.test(char);
}

export function isString(char: string): boolean {
  return LETTERS.test(char);
}

export function skipWhitespace(char: string): boolean {
  return WHITESPACE.test(char);
}
